package com.example.demo.dao.mapper;

import com.example.demo.dao.model.SysToken;
import com.example.demo.dao.model.SysTokenCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SysTokenMapper {
    long countByCriteria(SysTokenCriteria Criteria);

    int deleteByCriteria(SysTokenCriteria Criteria);

    int deleteByPrimaryKey(Integer id);

    int insert(SysToken record);

    int insertSelective(SysToken record);

    List<SysToken> selectByCriteria(SysTokenCriteria Criteria);

    SysToken selectByPrimaryKey(Integer id);

    int updateByCriteriaSelective(@Param("record") SysToken record, @Param("example") SysTokenCriteria Criteria);

    int updateByCriteria(@Param("record") SysToken record, @Param("example") SysTokenCriteria Criteria);

    int updateByPrimaryKeySelective(SysToken record);

    int updateByPrimaryKey(SysToken record);
}